package cn.kgc.tafang.entity;

import java.io.Serializable;

/**
 * 怪物类
 */
public class Moster implements Serializable {
    private String name;    //昵称
    private int grade;  //等级
    private int HP;     //血量
    private int power;  //攻击力
    private int distance;   //攻击距离
    private int mosterNum;        //   怪物个数

    public int getMosterNum() {
        return mosterNum;
    }

    public void setMosterNum(int mosterNum) {
        this.mosterNum = mosterNum;
    }

    public Moster(String name, int grade, int HP, int power, int distance, int mosterNum) {
        this.name = name;
        this.grade = grade;
        this.HP = HP;
        this.power = power;
        this.distance = distance;
        this.mosterNum = mosterNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getHP() {
        return HP;
    }

    public void setHP(int HP) {
        this.HP = HP;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public Moster() {
    }

}
